﻿ALTER TABLE [dbo].[Locations]
    ADD CONSTRAINT [FK_Location_DeploymentAgent] FOREIGN KEY ([DeploymentAgent_id]) REFERENCES [dbo].[DeploymentAgents] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION;

